
//License Information
/*
    Copyright 2010 Jozsef Jantek

    This file is part of HunterTC.

    HunterTC is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    HunterTC is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with HunterTC.  If not, see <http://www.gnu.org/licenses/>.
*/

package huntertc;

public class Shot_Chimera extends Shot
{
    Shot_Chimera(Char_sheet schar)
    {
        name="Chimera Shot";
        focus=50;
        cooldown=10;
        Calc(schar);
    }

    @Override public void Calc(Char_sheet schar)
    {
        //avg_dmg=(int)((((schar.getWep_avg_dmg()+schar.getWep_scope())/schar.getWep_speed()+schar.getRAP()/14)*schar.getWep_speed())*2.25);
        avg_dmg=(int)((((schar.getWep_avg_dmg()+schar.getWep_scope())/schar.getWep_speed()+schar.getRAP()/14+schar.getWep_ammo())*schar.getWep_speed())*1.25+(schar.getWep_avg_dmg()+schar.getWep_scope()+schar.getRAP()/14));
        bon_dmg=(schar.b_impsteady?15:0);
        crit_dmg=2*schar.t.MM[27].val;
        setBase_cast(cooldown);
        setAct_cast(cooldown);
        Opt_Dmg(schar);
        setDPS(CountDPS());
        setDPM(CountDPM());
    }
}
